//
//  GameController.h
//  Test01
//
//  Created by Storm Christoph on 11/27/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Card.h"
#import "MainViewController.h"



@interface GameController : NSObject {

	int nrOfCards;
	int nrOfCardsPerGroup;
	int currentTime;
	//int nrOfCardsTurned;
	
}

//-(GameController *) initWithParameters:(int)nrCards group:(int)cardsPerGroup;
-(GameController *) initWithParameters:(int)nrCards group:(int)cardsPerGroup view:(id *)vc timer:(int)seconds;
-(void) initParameters:(int)nrCards group:(int)cardsPerGroup timer:(int)seconds;
-(BOOL) cardShouldFlip:(Card *)card;
-(BOOL) checkGroupFound;
-(void) startTimer:(int) timeToRun;
-(void) stopTimer;
-(void) pauseTimer;
- (void)resumeTimer;

@property (nonatomic,assign) int nrOfCards;
@property (nonatomic,assign) int nrOfCardsPerGroup;
@property (nonatomic,assign) int currentTime;
//@property (nonatomic,assign) int nrOfCardsTurned;


@end
